package cn.hahah.module.blog.controller.admin.userlike.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 用户点赞新增/修改 Request VO")
@Data
public class UserLikeSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "14077")
    private Long id;

    @Schema(description = "文章编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "8773")
    @NotNull(message = "文章编号不能为空")
    private Long articleId;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "26634")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "是否点赞")
    private Boolean isLike;

}